I agree with you Hanged Man, there is such a full correspondence of the folk explanation for the movements of the heavenly bodies with stories elaborated from them in the Bible that in my mind there can be no doubt that this is the foundational myth at the real source of 'scripture'.
A key to interpreting the origins of the Bible is to understand that whereas the heavenly 'book' of stars is without exception cyclical; that is daily, monthly or annual; the stories derived from them in scripture are told as one off events.
A simple example would be the Lord of the Night dispels the Sun God of the day daily as the Earth rotates but the Bible dresses this up as a final showdown between darkness and light alias good and evil at Armageddon.
The more you investigate this subject the more convincing it is. Itis a rich ifield of inquiry but Christians, sensitive flowers that they are, steer clear of things resembling astrology. The truth is that these stories preceded Christianity and were universal where the ancients of most continents marked the changing of the seasons accurately by the sun and stars.
I would just like to add that the Persian christ cult known as Mithraism contributed the solar cross at the equinox to Christianity. The 'cross' being the crossing of the sun at the spring equinox (The path of the ecliptic crossing the line of the Equator) known from about 400BCE.